#include "work_status_setting.h"

static work_status_t work_status = USUALLY_WORK; //默认工作状态为正常工作状态

void set_work_status(work_status_t status)
{
    /*这里应该对status进行合法性检查*/
    if (status >= 0 && status < WORK_STATUS_MAX)
        work_status = status;
}

work_status_t get_work_status(void)
{
    return work_status;
}
